package com.example.hanlp_service.dto;

public class DependencyWordDTO {
    private String word;
    private String headWord;
    private String relation;

    public DependencyWordDTO(String word, String headWord, String relation) {
        this.word = word;
        this.headWord = headWord;
        this.relation = relation;
    }

    // Getters and Setters
    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public String getHeadWord() {
        return headWord;
    }

    public void setHeadWord(String headWord) {
        this.headWord = headWord;
    }

    public String getRelation() {
        return relation;
    }

    public void setRelation(String relation) {
        this.relation = relation;
    }
}